﻿using AIStudio.Wpf.Demo01.Models;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace AIStudio.Wpf.Demo01
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();

            List<SharpBase> lists = new List<SharpBase>()
            { 
                new RectangleBase(){ Left = 0, Top=0},
                new EllipseBase(){ Left = 100, Top=100},
                new LineBase(){ Left = 200, Top=200,}
            };

            listbox.ItemsSource = lists;
        }
    }
}